const router = require('koa-router')(),
      indexController = require('../controllers/Index'),
      loginCheckMW = require('../middlewares/userLoginCheck');


router.get('/', indexController.index);
router.get('/index', indexController.index);
router.get('/problem-detail/:pid', indexController.getProblemDetail);
router.get('/problem-store', indexController.getProblemStorePage);

module.exports = router;